import request from '@/utils/request'

// 发送信息
export function findMessageBySendUserAndReceiveUser(sendUserId, receiveUserId) {
    return request({
        url: '/api/message/findMessageBySendUserAndReceiveUser',
        method: 'post',
        params: { sendUserId, receiveUserId }
    })
}

// 获取在线人数
export function searchUserForForm(loginUserId, searchUserName) {
    return request({
        url: '/api/message/searchUserForForm',
        method: 'post',
        params: { loginUserId, searchUserName }
    })
}


